package com.zaey.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @author JohnSoybean
 * @create 2020/10/15 12:05
 * @description
 */
@Component
public class PaymentFallbackService implements PaymentHystrixService {
    @Override
    public String paymentInfo_OK(Integer id) {
        return "------------PaymentFallbackService fall back paymentInfo_OK-----------";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "------------PaymentFallbackService fall back paymentInfo_TimeOut-----------";
    }
}
